'''
Created on Apr 8, 2009

@author: Administrator
'''
import compileall

#compileall.compile_dir('src/', force=True)

#import re
#compileall.compile_dir('src/', rx=re.compile('/[.]svn'), force=True)

import datetime
import uuid


now = datetime.datetime.now()
date_dir = str(now.year) + str(now.month) + str(now.day)

filename = uuid.uuid5(uuid.NAMESPACE_DNS, date_dir).hex

print filename

fname = "aa.txt"
index = fname.rfind(".")
print fname[index:]
